const dateNow = require('date-now');

// 获取当前时间戳
const timestamp = dateNow();
console.log('当前时间戳：' + timestamp);